package com.czhoujunlv.drug.Bean;

public class LoginData {

    /**
     * msg : success
     * code : 200
     * data : {"codeId":null,"img":"test","code":null,"pass":"123456","sex":"女","name":"test001","id":1,"account":"test001","age":12,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDg0NzM0ODQsInVzZXJuYW1lIjoidGVzdDAwMSJ9.r06WwEDFCHhCc4WcKNgljmRyAWRXdOQUAmK7qPhXNPc"}
     */
    private String msg;
    private int code;
    private DataEntity data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity {
        /**
         * codeId : null
         * img : test
         * code : null
         * pass : 123456
         * sex : 女
         * name : test001
         * id : 1
         * account : test001
         * age : 12
         * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDg0NzM0ODQsInVzZXJuYW1lIjoidGVzdDAwMSJ9.r06WwEDFCHhCc4WcKNgljmRyAWRXdOQUAmK7qPhXNPc
         */
        private String codeId;
        private String img;
        private int code;
        private String pass;
        private String sex;
        private String name;
        private int id;
        private String account;
        private int age;
        private String token;

        public void setCodeId(String codeId) {
            this.codeId = codeId;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public void setPass(String pass) {
            this.pass = pass;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getCodeId() {
            return codeId;
        }

        public String getImg() {
            return img;
        }

        public int getCode() {
            return code;
        }

        public String getPass() {
            return pass;
        }

        public String getSex() {
            return sex;
        }

        public String getName() {
            return name;
        }

        public int getId() {
            return id;
        }

        public String getAccount() {
            return account;
        }

        public int getAge() {
            return age;
        }

        public String getToken() {
            return token;
        }
    }
}
